﻿<UserControl
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing" x:Class="BankerenClient.HostGameView" 
             mc:Ignorable="d" d:DesignWidth="300" Width="300" Height="162">
	<UserControl.Effect>
		<DropShadowEffect/>
	</UserControl.Effect>
    <Border BorderBrush="Black" BorderThickness="1" CornerRadius="10" Background="{DynamicResource ControlBackgroundBrush}">
    	<Grid>
    		<Grid.ColumnDefinitions>
    			<ColumnDefinition Width="0.342*"/>
    			<ColumnDefinition Width="0.658*"/>
    		</Grid.ColumnDefinitions>
    		<Grid.RowDefinitions>
    			<RowDefinition Height="0.182*"/>
    			<RowDefinition Height="0.8*"/>
    		</Grid.RowDefinitions>
    		<TextBlock x:Name="DisplayName" HorizontalAlignment="Center" Margin="8,0,0,0" TextWrapping="Wrap" Text="TextBlock" Foreground="{DynamicResource TextBrush}" VerticalAlignment="Center" FontSize="16" FontWeight="Bold" Grid.ColumnSpan="2"/>
    		<TextBlock x:Name="tb_ServerName" Margin="0,10.997,4,0" TextWrapping="Wrap" Text="Server name:" Grid.Row="1" HorizontalAlignment="Right" VerticalAlignment="Top" Foreground="{DynamicResource TextBrush}"/>
    		<TextBlock x:Name="tb_Password" Margin="0,36.956,4,0" TextWrapping="Wrap" Text="Password:" Grid.Row="1" HorizontalAlignment="Right" VerticalAlignment="Top" Foreground="{DynamicResource TextBrush}"/>
    		<TextBox x:Name="ServerName" Margin="8,7.998,8,0" TextWrapping="Wrap" Text="TextBox" Grid.Row="1" Grid.Column="1" VerticalAlignment="Top"/>
    		<TextBox x:Name="Password" Margin="29,33.957,8,0" TextWrapping="Wrap" Text="TextBox" Grid.Column="1" Grid.Row="1" VerticalAlignment="Top" IsEnabled="{Binding IsChecked, ElementName=UsePassword}"/>
    		<CheckBox x:Name="AllowSpectators" Content="Allow spectators" Margin="8,59.916,0,52.652" Grid.Column="1" HorizontalAlignment="Left" Grid.Row="1"/>
    		<CheckBox x:Name="AllowCustomAvatars" Content="Allow custom avatars" Margin="8,0,0,32.652" Grid.Column="1" HorizontalAlignment="Left" Grid.Row="1" VerticalAlignment="Bottom"/>
    		<CheckBox x:Name="UsePassword" Content="" Margin="8,36.957,0,0" Grid.Column="1" HorizontalAlignment="Left" Grid.Row="1" VerticalAlignment="Top"/>
    		<Button x:Name="HostGame" Content="Host game" Margin="0,0,8,8" Grid.Column="1" HorizontalAlignment="Right" Grid.Row="1" VerticalAlignment="Bottom" Width="68.037"/>
    		<Button x:Name="Back" Content="Back" Margin="0,0,80.037,8" Grid.Column="1" Grid.Row="1" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="45.71"/>
    	</Grid>
    </Border>
</UserControl>
